import Vue from 'vue'
import Vuex from 'vuex'
import getters from './getters'

Vue.use(Vuex)

const store = new Vuex.Store({
  state:{
    user: getLocal('ate_user') || {},
    userBalance:null,
    history:getLocal('ate_history_search') || []
  },
  getters:getters
})

export default store
